package com.itsm.xkitsm.liferoot.life.weather;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Q164454216
 * Created by xiaoke on 2017/9/13.
 */

public class DayWeather implements Parcelable{


    private String date;//": "13日星期三",
    private String sunrise;//": "05:50",
    private String high;//": "高温 31.0℃",
    private String low;//": "低温 21.0℃",
    private String sunset;//": "18:25",
    private String aqi;//": 76,
    private String fx;//": "西南风",
    private String fl;//": "3-4级",
    private String type;//": "晴",
    private String notice;//": lovely sunshine，尽情享受阳光的温暖吧"

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSunrise() {
        return sunrise;
    }

    public void setSunrise(String sunrise) {
        this.sunrise = sunrise;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public String getLow() {
        return low;
    }

    public void setLow(String low) {
        this.low = low;
    }

    public String getSunset() {
        return sunset;
    }

    public void setSunset(String sunset) {
        this.sunset = sunset;
    }

    public String getAqi() {
        return aqi;
    }

    public void setAqi(String aqi) {
        this.aqi = aqi;
    }

    public String getFx() {
        return fx;
    }

    public void setFx(String fx) {
        this.fx = fx;
    }

    public String getFl() {
        return fl;
    }

    public void setFl(String fl) {
        this.fl = fl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.date);
        dest.writeString(this.sunrise);
        dest.writeString(this.high);
        dest.writeString(this.low);
        dest.writeString(this.sunset);
        dest.writeString(this.aqi);
        dest.writeString(this.fx);
        dest.writeString(this.fl);
        dest.writeString(this.type);
        dest.writeString(this.notice);
    }

    public DayWeather() {
    }

    protected DayWeather(Parcel in) {
        this.date = in.readString();
        this.sunrise = in.readString();
        this.high = in.readString();
        this.low = in.readString();
        this.sunset = in.readString();
        this.aqi = in.readString();
        this.fx = in.readString();
        this.fl = in.readString();
        this.type = in.readString();
        this.notice = in.readString();
    }

    public static final Creator<DayWeather> CREATOR = new Creator<DayWeather>() {
        @Override
        public DayWeather createFromParcel(Parcel source) {
            return new DayWeather(source);
        }

        @Override
        public DayWeather[] newArray(int size) {
            return new DayWeather[size];
        }
    };
}
